<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			*{
				margin: 0;
				padding: 0;
			}
			#container{
				width: 100%;
				height: 600px;
				display: flex;
				justify-content: center;
				align-items: center;
			}
			#outDiv{
				width: 600px;
				height: 500px;
				display: flex;
				align-items: center;
				overflow: hidden;
			}
			#imgListId{
				display: flex;
				width: 1600px;
				height: 100px;
			}
			#imgListId img{
				width: 100px;
				height: 100px;
			}
		</style>
	</head>
	<body>
		<div id="container">
			<div id="outDiv">
				<div id="imgListId">
					<img src="img/lunbo/1.jpeg" >
					<img src="img/lunbo/2.jpeg" >
					<img src="img/lunbo/3.jpeg" >
					<img src="img/lunbo/4.jpeg" >
					<img src="img/lunbo/5.jpeg" >
					<img src="img/lunbo/6.jpeg" >
					<img src="img/lunbo/7.jpeg" >
					<img src="img/lunbo/8.jpeg" >
					<img src="img/lunbo/9.jpeg" >
					<img src="img/lunbo/10.jpeg">
					<img src="img/lunbo/1.jpeg" >
					<img src="img/lunbo/2.jpeg" >
					<img src="img/lunbo/3.jpeg" >
					<img src="img/lunbo/4.jpeg" >
					<img src="img/lunbo/5.jpeg" >
					<img src="img/lunbo/6.jpeg" >
				</div>
			</div>
		</div>		
	</body>
	<script type="text/javascript">
		var imgListIdObj = document.getElementById('imgListId');
		var marginLeft = 0;		
		onload = function(){
			setInterval(function(){
				marginLeft--;
				imgListIdObj.style.marginLeft =marginLeft+'px';
				if(marginLeft==-1000){
					marginLeft=0;
				}
			},10)
		}
	</script>
</html>
